package ${package}.${moduleName}.service;

import com.github.pagehelper.Page;
import com.kingxunlian.scf.domain.common.PageParameter;

import java.util.List;
import java.util.Map;

/**
 * @date ${datetime}
 */
public interface I${className}Service {

    public ${className}Dto queryByPrimaryKey(${pk.attrType} ${pk.attrname});

	public List<${className}Dto> queryByCondition(${className}Dto ${classname}Dto);

    public Page<${className}Dto> queryByPage(${className}Dto ${classname}Dto, PageParameter pageParameter)

    public void insert(${className}Dto ${classname}Dto);

    public void insertSelective(${className}Dto ${classname}Dto);

	public void update(${className}Dto ${classname}Dto);

    public void updateSelective(${className}Dto ${classname}Dto);

    public void deleteByPrimaryKey(${pk.attrType} ${pk.attrname});

	public void deleteBatchByPrimaryKey(List<${pk.attrType}> ${pk.attrname}List);
}
